<?php
session_start();
function fcflush()
{
	static $output_handler = null;
	if ($output_handler === null)
	{
		$output_handler = @ini_get('output_handler');
	}

	if ($output_handler == 'ob_gzhandler')
	{
		// forcing a flush with this is very bad
		return;
	}

	flush();
	if (function_exists('ob_flush') AND function_exists('ob_get_length') AND ob_get_length() !== false)
	{
		@ob_flush();
	}
	else if (function_exists('ob_end_flush') AND function_exists('ob_start') AND function_exists('ob_get_length') AND ob_get_length() !== FALSE)
	{
		@ob_end_flush();
		@ob_start();
	}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Install System</title>
<link href="main.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div align="center">
<div class="container" align="left">

<?php if (!isset($_GET['p'])) {?>
<b class="b1h"></b><b class="b2h"></b><b class="b3h"></b><b class="b4h"></b>
    <div class="headh">
        <h3>Before we begin.</h3>
    </div>
    <div class="contenth">
        <div>
		This installer will guide you through the process of setting up your e-commerce package.<br /><br />Before we begin though you will need to have some information to hand.
		<ul>
			<li>Database Hostname/IP Address</li>
			<li>Database Name</li>
			<li>Database Username &amp; Password Details</li>
		</ul>
		<br />
		</div>
    </div>
<b class="b4bh"></b><b class="b3bh"></b><b class="b2bh"></b><b class="b1h"></b>
<a href="index.php?p=1"><img src="next.png" border="0" align="right" /></a>
<?php
} else {
	include "pages/".$_GET['p'].".php";
}
?>
</div>
</div>
</body>
</html>
